/**
  Bundles用户node端, AsyncBundles用于浏览器端
  webpack中使用了插件, 如果是检查到是浏览器端, 会将Bundles自动替换成AsyncBundles
 */
import { Login, NavigationMenu, Demo  } from './AsyncBundles';

const routes = [
  {
    component: Login,
    path: '/login',
    exact: true,
    breadcrumbName: 'login',
  },
  {
    component: NavigationMenu,
    path: '/navigationMenu',
    exact: true,
    breadcrumbName: 'navigationMenu',
  },
  {
    component: Demo,
    path: '/demo',
    exact: true,
    breadcrumbName: 'demo',
  }
];

export default routes;
